<!--- SUI模板 on 2017/3/30 -->
<script ng-init="initCss()"></script>
<div class="page">
    <header class="bar bar-nav">
        <a class="icon icon-left pull-left button-nav" href="javascript:history.back(-1);"></a>
        <h1 class="title">数据导出或导入</h1>
    </header>
    <div class="content" ng-init="">
        <div class="content-block">
            <p><input class="hide-file" accept="application/json" type="file"
                      onchange="angular.element(this).scope().setFile(this.files[0])"></p>
            <br>
            <p><a href="javascript:;" ng-click="importData()" class="button button-big button-round">导入数据</a></p>
            <p><a href="javascript:;" ng-click="exportData()" class="button button-big button-round">导出数据（不需要选择文件）</a>
            </p>
        </div>
    </div>
</div>
<div ng-init="suiMobileInit()"></div>